<?php
/**
 * 节点图验证 - 管理后台
 *
 * @author birdy <freebirdy@foxmail.com>
 * @link http://www.aiyuangong.com
 * @copyright 2016 birdy all rights reserved.
 * @license http://www.apache.org/licenses/LICENSE-2.0
 */

namespace app\admin\validate;

use think\Validate;

class StoreJoinin extends Validate
{
    protected $rule = [
        "company_name|公司名称"      => "require|max:50",
        "company_rea_code|公司所在地"      => "number",
        "company_address|公司所在地"      => "require|max:100",
        "company_address_detail|公司详细地址"      => "|max:100",
        "company_phone|公司电话"      => "require|max:20",
        "company_employee_count|员工数"      => "number",
        "company_registered_capital|注册资金"      => "number|max:10",
        "contacts_name|联系人姓名"      => "max:50",
        "contacts_phone|联系人电话"      => "max:20",
        "contacts_email|联系人邮箱"      => "email|max:50",
        "business_licence_number|营业执照号"      => "max:50",
        "business_licence_address|营业执照所在地"      => "max:50",
        "business_licence_start|营业执照有效期"      => "date",
        "business_licence_end|营业执照有效期"      => "date",
        "business_sphere|法定经营范围"      => "max:100",
        "business_licence_number_electronic|营业执照电子版"      => "max:150",
        "organization_code|组织机构代码"      => "max:50",
        "organization_code_electronic|组织机构代码电子版"      => "max:150",
        "general_taxpayer|一般纳税人证明"      => "max:150",
        "bank_account_name|银行开户名"      => "max:50",
        "bank_account_number|公司银行账号"      => "max:50",
        "bank_name|开户银行支行名称"      => "max:50",
        "bank_code|支行联行号"      => "max:50",
        "bank_address|开户银行所在地"      => "max:50",
        "bank_licence_electronic|开户银行许可证电子版"      => "max:150",
        "settlement_bank_account_name|结算银行开户名"      => "max:50",
        "settlement_bank_account_number|结算公司银行账号"      => "max:50",
        "settlement_bank_name|结算开户银行支行名称"      => "max:50",
        "settlement_bank_code|结算支行联行号"      => "max:50",
        "settlement_bank_address|结算开户银行所在地"      => "max:50",
        "tax_registration_certificate|税务登记证号"      => "max:50",
        "taxpayer_id|纳税人识别号"      => "require|max:50",
        "tax_registration_certificate|税务登记证号电子版"      => "max:150",
    ];
}
